package com.homework8_1;

public class Test {
    public static void main(String[] args) {
        Rabbit rabbit=new Rabbit("美人","白色","哺乳类");
        Frog frog= new Frog("大兵","绿色","非哺乳类");
        rabbit.eat();
        rabbit.shout();
        frog.shout();
        frog.eat();
        frog.swim();


    }
}
